<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of type
 *
 * @author n1kolyan
 */
class type extends CActiveRecord
{
    public static function model($className = __CLASS__) {
        return parent::model($className);
    }
    public function tableName() {
        return 'type';
        }

//        public function relations() {
//            return array(
//                array(self::HAS_MANY,'order','id_type'),
//            );
//        }
}
?>
